﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucSanPhamBanChay.ascx.cs" Inherits="SES.CMS.Module.ucSanPhamBanChay" %>
<asp:Repeater ID="rpt" runat="server" OnItemCommand="rpt_ItemCommand" >
    <ItemTemplate>
        <div class="c20l">
            <div class="subc">
                <a href='SanPhamChiTiet/<%#Eval("SanPhamID")%>/<%#(bool)(Session["lang"].ToString()=="VN")?FriendlyUrl(Eval("TenSanPham").ToString()): (Eval("ProductName")+".aspx")%>' title="Demo">
                    <input type="hidden" name="ldtype" value="infogrid">
                    <input type="hidden" name="stoken" value="FB22994"><input type="hidden" name="force_sid"
                        value="">
                    <input type="hidden" name="lang" value="0">
                    <input type="hidden" name="pgNr" value="0">
                    <input type="hidden" name="cl" value="start">
                    <input type="hidden" name="fnc" value="tobasket">
                    <input type="hidden" name="aid" value="ggia6c31f503ec16d4a68f7d3e114422">
                    <input type="hidden" name="anid" value="ggia6c31f503ec16d4a68f7d3e114422">
                    <input id="am_bargainItems_1" type="hidden" name="am" value="1">
                    <img src="/Media/<%#Eval("HinhAnh")%>" class="productimg" alt="xxx" />
                    <span class="producttitle">
                        <%#(bool)(Session["lang"].ToString()=="VN")?Eval("TenSanPham"):Eval("ProductName") %>
                    </span><span class="productoldprice"><%#(bool)(int.Parse(Eval("GiamGia").ToString())>0)?((bool)(Session["lang"].ToString()=="VN")?Eval("DonGia","{0:0,0 đ}"):Eval("Price","{0:0,0 $}")):"" %></span>
                    <span class="productactprice">
                        <%#(bool)(Session["lang"].ToString()=="VN")?Eval("GiaHienTai","{0:0,0 đ}"):Eval("PresentPrice","{0:0,0 $}") %></span> <span class="productdetail"><asp:Label runat="server" ID="rlblDetail" Text="<%$ Resources:Language,rlblDetail %>"></asp:Label></span>
                    <div class="functions" itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
                        <div class="tobasketFunction clear">
                        </div>
                    </div>
                </a>
            </div>
        </div>
    </ItemTemplate>
</asp:Repeater>